/*******************************************************************************
 * Copyright (c) 2025 Broadcom, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Broadcom, Inc. - initial API and implementation
 *******************************************************************************/
package org.springframework.ide.vscode.boot.java.stereotypes;

import java.util.Set;

public class StereotypePackageElement extends AbstractStereotypeIndexElement {
	
	private final String packageName;
	private final boolean isMainPackage;
	
	public StereotypePackageElement(String packageName, Set<String> annotationTypes) {
		this(packageName, annotationTypes, false);
	}
	
	public StereotypePackageElement(String packageName, Set<String> annotationTypes, boolean isMainPackage) {
		super(annotationTypes);
		this.packageName = packageName;
		this.isMainPackage = isMainPackage;
	}
	
	public String getPackageName() {
		return packageName;
	}
	
	public boolean isMainPackage() {
		return isMainPackage;
	}
	
}
